package cn.kgc.springboot.vo;


import cn.kgc.springboot.entity.Permission;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: hengge
 * @version: v1.0
 * @DATE: 2022/11/30
 * 用于数据展示的对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PermissionVO extends Permission {

    //参考为api/init.json下的chile，封装数据
    private List<PermissionVO> child;
}
